package com.mjh.zhujianju.dao.party;

import com.livew.framework.base.dao.BaseMapper;
import com.mjh.zhujianju.model.party.BuildingEventEO;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface BuildingEventMapper extends BaseMapper<BuildingEventEO> {

    /**
     * 查询未开始活动
     * @return
     */
    List<BuildingEventEO> queryBuildingEventForStart(@Param("registrationDeadline")Date registrationDeadline,@Param("list")List<Long> list);

    /**
     * 查询结束活动
     * @return
     */
    List<BuildingEventEO> queryBuildingEventForOver(@Param("registrationDeadline")Date registrationDeadline,@Param("list")List<Long> list);
}